package com.jctrip.hotel.domain.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 价格日历表(ht_price_calendar)表实体类
 *
 * @author makejava
 * @since 2023-06-17 16:22:30
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class HtPriceCalendar extends BaseEntity {

    //酒店唯一编号
    private String hotelId;
    //房型名称
    private String roomTypeName;
    //房型编号
    private String roomTypeCode;
    //日期
    private Date calDate;
    //可售库存
    private Integer quota;
    //币种
    private String currencyCode;
    //门市价
    private BigDecimal retailPrice;
    //含税采购总价
    private BigDecimal purchasePrice;
    //早餐数量
    private Integer breakfastCount;
    //取消政策类型(1=免费退；2=不能退；3=阶梯退；4=限时免费退；5=限时部分退；6=限时扣首晚)
    private Integer cancelPolicyType;
    //最晚取消时限
    private Date lastCancelTime;
    //取消规则(JSON格式)
    private String cancelRule;
}
